package com.ruoyi.student.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 任务表对象 bbl_edit_task
 * 
 * @author hoyo
 * @date 2023-01-01
 */
public class EditTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编辑任务表主键id */
    private Long id;

    /** 学生id */
    @Excel(name = "学生id")
    private Long stuSn;

    /** 学生名称 */
    @Excel(name = "学生名称")
    private String stuName;

    /** 任务日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任务日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date taskDate;

    /** 任务状态 */
    @Excel(name = "任务状态")
    private String taskStatus;

    /** 任务说明 */
    @Excel(name = "任务说明")
    private String taskExplain;

    /** 负责老师 */
    @Excel(name = "负责老师")
    private String teacherName;

    /** 完成说明 */
    @Excel(name = "完成说明")
    private String completionExplain;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStuSn(Long stuSn) 
    {
        this.stuSn = stuSn;
    }

    public Long getStuSn() 
    {
        return stuSn;
    }
    public void setStuName(String stuName) 
    {
        this.stuName = stuName;
    }

    public String getStuName() 
    {
        return stuName;
    }
    public void setTaskDate(Date taskDate) 
    {
        this.taskDate = taskDate;
    }

    public Date getTaskDate() 
    {
        return taskDate;
    }
    public void setTaskStatus(String taskStatus) 
    {
        this.taskStatus = taskStatus;
    }

    public String getTaskStatus() 
    {
        return taskStatus;
    }
    public void setTaskExplain(String taskExplain) 
    {
        this.taskExplain = taskExplain;
    }

    public String getTaskExplain() 
    {
        return taskExplain;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }
    public void setCompletionExplain(String completionExplain) 
    {
        this.completionExplain = completionExplain;
    }

    public String getCompletionExplain() 
    {
        return completionExplain;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stuSn", getStuSn())
            .append("stuName", getStuName())
            .append("taskDate", getTaskDate())
            .append("taskStatus", getTaskStatus())
            .append("taskExplain", getTaskExplain())
            .append("teacherName", getTeacherName())
            .append("completionExplain", getCompletionExplain())
            .toString();
    }
}
